package com.example.day23.dao;

import com.example.day23.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IUserMapper {
  List<User> selectTest(@Param("user") User user);
  int updateTest(@Param("user") User user);
  int insertBatch(List<User> userList);
  int deleteBatch(List<Integer> idList);
  User getUserAndAddrById(Integer id);
  User getUserAndAddrById2(Integer id);
  User selectUserLike(@Param("username") String username);
}